package com.xxd.spring.boot.demo.lihonghai.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxd.spring.boot.demo.lihonghai.entity.Teacher;

import java.util.Map;

public interface TeacherService {
    int add(Teacher teacher);
    int updateById(Teacher teacher);
    IPage listPage(Page page, Map<String,Object> map);
    int deleteById(Integer id);
}
